package org.wlw.obj;

public class User {
	String username;
	String password;
	String nickname;
	public User(String username, String password, String nickname) {
		super();
		this.username = username;
		this.password = password;
		this.nickname = nickname;
	}
	
	public User() {
		
	}
	
	@Override
	public String toString() {
		return "username:"+username+"\t\tnickname:"+nickname;
	}
	
	@Override
	public boolean equals(Object obj) {
		User tu = (User)obj;
		return tu.username.equals(this.username);
	}
}
